package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 atb_user
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class AtbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long id;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 手机号                  */
    @Excel(name = "手机号                 ")
    private String mobile;

    /** 咨询数量 */
    @Excel(name = "咨询数量")
    private Long consultNumber;

    /** 图片 */
    @Excel(name = "图片")
    private String url;

    /** 认证(是：1，否：0) */
    @Excel(name = "认证(是：1，否：0)")
    private Long isAuthentication;

    /** 是否在线(是 ：1  ，否：2) */
    @Excel(name = "是否在线(是 ：1  ，否：2)")
    private Long isOnLine;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setConsultNumber(Long consultNumber) 
    {
        this.consultNumber = consultNumber;
    }

    public Long getConsultNumber() 
    {
        return consultNumber;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setIsAuthentication(Long isAuthentication) 
    {
        this.isAuthentication = isAuthentication;
    }

    public Long getIsAuthentication() 
    {
        return isAuthentication;
    }
    public void setIsOnLine(Long isOnLine) 
    {
        this.isOnLine = isOnLine;
    }

    public Long getIsOnLine() 
    {
        return isOnLine;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("mobile", getMobile())
            .append("consultNumber", getConsultNumber())
            .append("url", getUrl())
            .append("isAuthentication", getIsAuthentication())
            .append("createTime", getCreateTime())
            .append("isOnLine", getIsOnLine())
            .toString();
    }
}
